projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b4df55
)
(url-basic-auth): Encode password string.
author
Chong Yidong
<cyd@stupidchicken.com>
Mon, 20 Oct 2008 16:06:03 +0000
(16:06 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Mon, 20 Oct 2008 16:06:03 +0000
(16:06 +0000)
lisp/url/url-auth.el
patch
|
blob
|
history
diff --git
a/lisp/url/url-auth.el
b/lisp/url/url-auth.el
index ce730ce74eacc26b19635920f1fda396c268e445..adf1d5b6703de3d1685151c0027b3797d3d631ae 100644
(file)
--- a/
lisp/url/url-auth.el
+++ b/
lisp/url/url-auth.el
@@
-93,7
+93,8
@@
instead of the filename inheritance method."
(cons file
(setq retval
(base64-encode-string
- (format "%s:%s" user pass)))))
+ (format "%s:%s" user
+ (encode-coding-string pass 'utf-8))))))
(symbol-value url-basic-auth-storage))))
(byserv
(setq retval (cdr-safe (assoc file byserv)))